<div class="upload-box">
    <i class="fa fa-plus open"></i>
    @empty($accept)
        <input type="file" name="file" class="upload_file">
    @elseif($accept == 'img')
        <input type="file" name="file" class="upload_file" accept="image/*">
    @else
        <input type="file" name="file" class="upload_file">
    @endif
    @empty($value)
        <div class="show_file"></div>
    @else
        <div class="show_file" style="background-image: url('{{ getInstallPicture(@$value) }}')"></div>
    @endif
    <input type="text" name="{{ @$name }}" class="upload_file_val" value="{{ @$value }}">
    <i class="fa fa-times-circle-o close"></i>
</div>